Loading

×Sorry to interrupt
Uncaught ReferenceError: addCTracking is not defined
throws at https://kb.vmware.com/resource/KM_TealiumTrackingJS?v=0.5:100:1

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

VPXD fails to start with error "Database error: ODBC error: (IM002) - [unixODBC][Driver Manager]Data source name not found, and no default driver specified" (70948)

Last Updated: 9/3/2019Categories: TroubleshootingTotal Views: 6220Language:
Chinese (Simplified)JapaneseEnglish

2 like this article

Subscribe to get an email
newsletter with new updates

2 people found this helpful Please provide article feedback:

Symptoms

VPXD fails to start with below Backtrace

2019-07-05T21:01:25.864-04:00 error vpxd[7FEE9FED2800] [Originator@6876 sub=Default] Alert:false@ bora/vpx/vpxd/util/vdb.cpp:509
--> Backtrace:
--> [backtrace begin] product: VMware VirtualCenter, version: 6.5.0, build: build-14020092, tag: vpxd, cpu: x86_64, os: linux, buildType: release
--> backtrace[00] libvmacore.so[0x002BB0F8]: Vmacore::System::Stacktrace::CaptureFullWork(unsigned int)
--> backtrace[01] libvmacore.so[0x001B18B6]: Vmacore::System::SystemFactoryImpl::CreateBacktrace(Vmacore::Ref<Vmacore::System::Backtrace>&)
--> backtrace[02] libvmacore.so[0x00177B89]: Vmacore::Service::Alert(char const*, char const*, int)
--> backtrace[03] vpxd[0x00A4342B]
--> backtrace[04] vpxd[0x0055182F]
--> backtrace[05] vpxd[0x0055307F]
--> backtrace[06] vpxd[0x0053D37A]
--> backtrace[07] libc.so.6[0x00020590]
--> backtrace[08] vpxd[0x0053CB85]
--> [backtrace end]
2019-07-05T21:01:25.864-04:00 info vpxd[7FEE9FED2800] [Originator@6876 sub=vpxdVdb] Registry Item DB 5 value is '60'
2019-07-05T21:01:25.864-04:00 info vpxd[7FEE9FED2800] [Originator@6876 sub=vpxdVdb] Setting VDB delay statements queue size to 7000 transactions for 7 GB RAM dedicated to vpxd.
2019-07-05T21:01:25.864-04:00 info vpxd[7FEE9FED2800] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType] Logging in to DSN: VMware VirtualCenter with username vc
2019-07-05T21:01:25.864-04:00 error vpxd[7FEE9FED2800] [Originator@6876 sub=Default] [Vdb::IsRecoverableErrorCode] Unable to recover from IM002:0
2019-07-05T21:01:25.864-04:00 error vpxd[7FEE9FED2800] [Originator@6876 sub=vpxdVdb] [VpxdVdb::SetDBType]: Database error: ODBC error: (IM002) - [unixODBC][Driver Manager]Data source name not found, and no default driver specified
2019-07-05T21:01:25.864-04:00 error vpxd[7FEE9FED2800] [Originator@6876 sub=Default] Error getting configuration info from the database
2019-07-05T21:01:25.864-04:00 warning vpxd[7FEE9FED2800] [Originator@6876 sub=Main] Database not initialized. Nothing to unlock
2019-07-05T21:01:25.864-04:00 info vpxd[7FEE9FED2800] [Originator@6876 sub=Default] Forcing shutdown of VMware VirtualCenter now

Can login into VCDB with the username vc

Purpose

This article is created to troubleshoot vpxd and start it up by manually creating odbc.ini file to manually re-create the ODBC conection on vcsa

Cause

The vpxd creates the backtrace when the file etc/odbc.ini is empty or not complete.

Impact / Risks

Take a backup of the vCenter before proceeding with the resolution

Resolution

To resolve the issue, follow the steps given below:

1. Take a snapshot/backup of the vCenter before proceeding with any of the steps
2. Check if the below two files exists and check if they have valid size

root@vcsa1 [ /opt/vmware/vpostgres/current/lib ]# ls -l /etc/odbc*
-r--r--r-- 1 root root 1630 May  4  2018 /etc/odbc.ini
-r--r--r-- 1 root root  353 May  4  2018 /etc/odbcinst.ini

3. Stop all the vcenter services by running this command: service-control --stop --all
4. Edit the odbc.ini file:  vi /etc/odbc.ini
5. Enter insert mode by pressing i, paste the below inside the file

[VMware VirtualCenter]
;DB_TYPE = PostgreSQL
;SERVER_NAME = localhost
;SERVER_PORT = 5432
;TNS_SERVICE = VCDB
;USER_ID = vc
Application Attributes = T
Attributes = W
BatchAutocommitMode = IfAllSuccessful
BindAsFLOAT = F
CloseCursor = F
DisableDPM = F
DisableMTS = T
Driver = PostgreSQL
DSN = VMware VirtualCenter
EXECSchemaOpt =
EXECSyntax = T
Failover = T
FailoverDelay = 10
FailoverRetryCount = 10
ForceWCHAR = F
Lobs = T
Longs = T
MetadataIdDefault = F
QueryTimeout = T
ResultSets = T
ServerName = localhost
PortNumber = 5432
Server = localhost
Port = 5432
SQLGetData extensions = F
Translation DLL =
Translation Option = 0
DisableRULEHint = T
UserID = vc
User = vc
Database = VCDB
Logging = 0
QuotedId = Yes
AnsiNPW = Yes
Mars_Connection = No
ByteaAsLongVarBinary = 1
BoolsAsChar = 0
UseDeclareFetch = 1
Fetch = 1024
[VUMDSN]
;DB_TYPE = PostgreSQL
;SERVER_NAME = localhost
;SERVER_PORT = 5432
;TNS_SERVICE = VCDB
;USER_ID = vumuser
Application Attributes = T
Attributes = W
BatchAutocommitMode = IfAllSuccessful
BindAsFLOAT = F
CloseCursor = F
DisableDPM = F
DisableMTS = T
Driver = PostgreSQL
DSN = VUMDSN
EXECSchemaOpt =
EXECSyntax = T
Failover = T
FailoverDelay = 10
FailoverRetryCount = 10
ForceWCHAR = F
Lobs = T
Longs = T
MetadataIdDefault = F
QueryTimeout = T
ResultSets = T
ServerName = localhost
PortNumber = 5432
Server = localhost
Port = 5432
SQLGetData extensions = F
Translation DLL =
Translation Option = 0
DisableRULEHint = T
UserID = vumuser
User = vumuser
Database = VCDB
Logging = 0
QuotedId = Yes
AnsiNPW = Yes
Mars_Connection = No
ByteaAsLongVarBinary = 1
BoolsAsChar = 0
UseDeclareFetch = 1
Fetch = 1024

6. Save the file and start the Services service-control --start --all

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
使用 DRS 高级设置 - IsClusterManaged (70864)

KB
•
面向 VMware Cloud on AWS 的 Cohesity 数据保护解决方案 (70921)

KB
•
在启用了 UAC 的 Windows 上无法安装 vRealize Operations Manager 7.5 Telegraf 代理 (70780)

KB
•
VMware Cloud on AWS の Cohesity データ保護ソリューション (70921)

Results 1-4 of 4

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

Related Versions:

Take Our Survey

Support Assistant